import {Navigate}  from 'react-router-dom'
import Home from '../views/Home'
import Shouye from '../views/Shouye'
import Wode from  '../views/Wode.jsx'
import Ding from '../views/Ding'
import Login from '../views/Login'
const route=[
    {
        path:'/',
        element:<Navigate to='/Home'></Navigate>,
    },
    {
        path:'/Home',
        element:<Home></Home>
    },
    {
        path:'/Shouye',
        element:<Shouye></Shouye>
    },
    {
        path:'/Wode',
        element:<Wode></Wode>
    },
    {
        path:'/Ding',
        element:<Ding></Ding>
    },
    {
        path:'/Login',
        element:<Login></Login>
    },
]
export default route